<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="description" content="任意门">
<meta name="keywords" content="">
<meta name="author" content="Soulran">
<meta http-equiv="Cache-Control" content="max-age=86400">
<meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no">
<title>任意门</title>
<!-- <link rel="stylesheet" href="/assets/thirds/css/reset.css">
<link rel="stylesheet" href="/assets/common/css/common.css">
<link rel="stylesheet" href="/assets/common/css/ficon.css">
<link rel="stylesheet" href="/assets/common/css/animation.css">
<link rel="stylesheet" href="/assets/pj/gate/css/website.css">
<link rel="stylesheet" href="/assets/common/css/base.css"> -->
<base target="_blank">
<style>
</style>
</head>

<body>
<header>
    <div class="container h100p">
        <div class="weather fl">
            <div class="weather-item">
                <span class="icon-star">
                    <?php
                        echo date("m月d日 周");
                        $weekText = array("日","一","二","三","四","五","六");
                        echo $weekText[date("w")];
                    ?>
                </span>
                <a id="city" disabled>北京[切换]</a>
            </div>
            <div class="weather-item" id="weather0">
                <span class="icon-sun">今天 未知~未知</span>
                <span>X℃ ~ X℃</span>
            </div>
            <div class="weather-item" id="weather1">
                <span class="icon-sun">明天 未知~未知</span>
                <span>X℃ ~ X℃</span>
            </div>
            <div id="welcome" class="welcome clear green">
                <p>某某某：这里随机寄语，每个人都可以说话啦</p>
                <p>快来写下你想说的话吧~</p>
            </div>
        </div>
        <!--<a class="door h100p left_50p fl abs" disabled>
            <img class="endless-rotate" src="<?php echo $root_url;?>a??pj/gate/img/wormhole-bg.png">
            <img src="<?php echo $root_url;?>a??pj/gate/img/wormhole-static.png">
            <img class="endless-rotate-anti" src="<?php echo $root_url;?>a??pj/gate/img/wormhole-rotate.png">
        </a>-->
        <div class="personal-center fr cf lays">
            <a class="personal-center-face border_arc" disabled>
                <span class="icon-user"></span>
                <img>
            </a>
            <div class="personal-center-item hover-select">
                <a class="icon-inbox" href="<?php echo $cloudboxLinkList[0]->link;?>">网盘</a>
                <ul>
                    <?php foreach ($cloudboxLinkList as $cloudbox): ?>
                    <li><a href="<?php echo $cloudbox->link;?>"><?php echo $cloudbox->linkTitle;?></a></li>
                    <?php endforeach; ?>
                </ul>
            </div>
            <div class="personal-center-item hover-select">
                <a class="icon-mail2" href="<?php echo $emailLinkList[0]->link;?>">邮箱</a>
                <ul>
                    <?php foreach ($emailLinkList as $email): ?>
                    <li><a href="<?php echo $email->link?>"><?php echo $email->linkTitle;?></a></li>
                    <?php endforeach; ?>
                </ul>
            </div>
            <div class="personal-center-item">
                <a class="icon-paper-plane" disabled>登入</a>
            </div>
            <!--飞向时空之门的小人或飞船-->
        </div>
    </div>
</header>
<div class="container">
    <div class="search-area clear">
        <div class="search-banners">
            <a class="search-banner active" data-shifter="baidu">
                <img src="<?php echo $root_url;?>a??pj/gate/img/baidu_banner.png">
            </a>
            <a class="search-banner" data-shifter="bing">
                <img src="<?php echo $root_url;?>a??pj/gate/img/bing_banner.png">
            </a>
            <a class="search-banner" data-shifter="google">
                <img src="<?php echo $root_url;?>a??pj/gate/img/google_banner.png">
            </a>
            <a class="search-banner" data-shifter="wiki">
                <img src="<?php echo $root_url;?>a??pj/gate/img/wikipedia_banner.png">
            </a>
            <a class="search-banner" data-shifter="taobao">
                <img src="<?php echo $root_url;?>a??pj/gate/img/taobao_banner.png">
            </a>
        </div>
        <div style="display: flex;justify-content: center;">
            <div class="banner-options active" data-shift="baidu">
                <a data-shifter="page" class="active">网页</a>
                <a data-shifter="image">图片</a>
                <a data-shifter="video">视频</a>
                <a data-shifter="music">音乐</a>
                <a data-shifter="baike">百科</a>
                <a data-shifter="zhidao">知道</a>
                <a data-shifter="dict">词典</a>
                <a data-shifter="map">地图</a>
            </div>
            <div class="banner-options" data-shift="bing">
                <a data-shifter="page" class="active">网页</a>
                <a data-shifter="images">图片</a>
                <a data-shifter="videos">视频</a>
                <a data-shifter="academic">学术</a>
                <a data-shifter="dict">词典</a>
            </div>
            <div class="banner-options" data-shift="google">
                <a data-shifter="page" class="active">网页</a>
                <a data-shifter="image">图片</a>
                <a data-shifter="video">视频</a>
                <a data-shifter="map">地图</a>
            </div>
            <div class="banner-options" data-shift="wiki"></div>
            <div class="banner-options" data-shift="taobao"></div>
        </div>
        <form id="searchForm" class="search-group" action="http://www.baidu.com/s">
            <input type="text" name="word" id="search" class="input-item w100p" autocomplete="off">
            <input type="hidden" id="searchHidden">
            <button type="submit" class="icon-right"></button>
            <div class="abs bgwhite lay s-suggestion" style="display: none;"></div>
        </form>
    </div>
    <div id="newsFrame" class="news-frame fl lay">
        <div class="news-title">
            <a class="block" href="http://toutiao.com"><img src="<?php echo $root_url;?>a??pj/gate/img/toutiao.png"></a>
        </div>
        <div id="newsContent" class="news-content">暂无热点新闻</div>
    </div>
    <div class="r_content fl">
        <div class="gate-category lay">
            <a data-shifter="gl-fav" class="active">❤</a>
            <?php foreach($gateFolders as $gateFolder):?>
            <a data-shifter="gl-<?php echo $gateFolder->folderName;?>"><?php echo $gateFolder->folderTitle;?></a>
            <?php endforeach;?>
            <a class="icon-setting" disabled></a>
        </div>
        <div class="gate-links active" data-shift="gl-fav">
            <!--最常访问-->
            <ul class="cf"><!--最常访问的12个网站，显示为canvas生成的艺术字图片-->
                <li><a href="<?php echo $base_url;?>">本站</a></li>
                <li><a>最常访问</a></li>
                <li><a>12个网站</a></li>
                <li><a>就是本站</a></li>
                <li class="gate-edit-add icon-add"></li>
            </ul>
            <hr>
            <!--自定义-->
            <ul class="cf">
                <?php foreach($maxDIYLinks as $link):?>
                <li><a href="<?php echo $link->link;?>"><?php echo $link->linkTitle;?></a></li>
                <?php endforeach;?>
                <li class="gate-edit-add icon-add"></li>
            </ul>
            <hr>
            <!--推荐网站-->
            <ul class="cf">
                <?php foreach($maxAmountLinks as $link):?>
                <li><a href="<?php echo $link->link;?>"><?php echo $link->linkTitle;?></a></li>
                <?php endforeach;?>
                <li class="gate-edit-add icon-add"></li>
            </ul>
        </div>
        <?php foreach($gateFolders as $gateFolder):?>
        <div class="gate-links" data-shift="gl-<?php echo $gateFolder->folderName;?>">
            <!--某个类别的推荐网站-->
            <ul class="cf">
                <li><a>常用<?php echo $gateFolder->folderName;?></a></li><li><a>6个</a></li>
                <li class="gate-edit-add icon-add"></li>
            </ul>
            <hr>
            <ul class="cf">
                <li><a>自定义<?php echo $gateFolder->folderName;?></a></li><li><a>123</a></li>
                <li class="gate-edit-add icon-add"></li>
            </ul>
            <hr>
            <ul class="cf">
                <li><a>推荐<?php echo $gateFolder->folderName;?></a></li>
                <?php foreach($folderLinks[$gateFolder->folderName] as $link):?>
                <li><a href="<?php echo $link->link;?>"><?php echo $link->linkTitle;?></a></li>
                <?php endforeach;?>
                <li class="gate-edit-add icon-add"></li>
            </ul>
        </div>
        <?php endforeach;?>
    </div>
</div>
<footer class="tcenter copyright">&copy;2015侠小然</footer>
</body>

<script src="<?php echo $root_url;?>assets/thirds/js/jquery/2.1.3/jquery.min.js"></script>
<script src="<?php echo $root_url;?>assets/pj/gate/js/gate.js"></script>
<script src="<?php echo $root_url;?>assets/js/838.js"></script>
</html>
